<template>
	<view class="typeface">
		<view class="title">
			字体调节
		</view>
		<view class="setting">
			<text>小</text>
			<u-slider v-model="value" class="slider"></u-slider>
			<text>大</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: 1
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
.typeface {
	// width: 100%;
	height: 100vh;
	padding: 0 20px;
	overflow: hidden;
	background-color: #eee;
	.title {
		font-size: 18px;
		font-weight: 600;
		margin: 20px 0 10px;
	}
	.setting {
		display: flex;
		background-color: #fff;
		padding: 20px;
		font-size: 18px;
		border-radius: 16px;
		::v-deep .u-slider {
			flex: 1;
		}
		text {
			width: 20px;
			margin-top: 6px;
		}
	}
}
</style>
